package cn.com.freelibra.forum.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import cn.com.freelibra.forum.dao.UploadFileMapper;
import cn.com.freelibra.forum.po.UploadFile;
import cn.com.freelibra.forum.service.UploadFileService;

@Service("uploadFileService")  
public class UploadFileServiceImpl implements UploadFileService{
    @Resource  
    private UploadFileMapper dao;
    
    @Override
	public int add(UploadFile entity) {
		return dao.insert(entity);
	}
}
